<HTML><HEAD><TITLE>dom_range(+Dom, ?Min, ?Max)</TITLE>
</HEAD><BODY>[ <A HREF="index.html">library(fd)</A> | <A HREF="../../index.html">Reference Manual</A> | <A HREF="../../fullindex.html">Alphabetic Index</A> ]
<H1>dom_range(+Dom, ?Min, ?Max)</H1>
Return the minimum and maximum value in the integer domain Dom.


<DL>
<DT><EM>+Dom</EM></DT>
<DD>A finite domain.
</DD>
<DT><EM>?Min</EM></DT>
<DD>An integer or a variable.
</DD>
<DT><EM>?Max</EM></DT>
<DD>An integer or a variable.
</DD>
</DL>
<H2>Description</H2>
   Return the minimum and maximum value in the integer domain Dom.  This
   predicate can also be used to test if a given domain is an integer one
   or not.

<P>

<H3>Fail Conditions</H3>
   Fails if Dom is a domain containing non-integer atomic elements.


<H3>Resatisfiable</H3>
   No.
<H2>See Also</H2>
<A HREF="../../lib/fd/dom_check_in-2.html">dom_check_in / 2</A>, <A HREF="../../lib/fd/is_integer_domain-1.html">is_integer_domain / 1</A>
</BODY></HTML>
